/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Sistema;

import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author diogo
 */
public abstract class GerenciadorServlet {

    /**
     * metodo para codificar tanto o request quanto o response <BR>
     * para que nao zoe nada nos html <BR>
     * <b>Obrigatorio o uso desse cara em <u>TODAS</u> as Servlets! </b>
     * 
     * @param request
     * @param response
     * @throws IOException
     */
    public static void Codificar(HttpServletRequest request, HttpServletResponse response)throws  IOException{
        //request.setCharacterEncoding(Defs.REQUEST_ENCODING);
        //response.setContentType(Defs.RESPONSE_CONTENT);
    }
}
